package com.anke.dao;

import com.anke.entity.Reservation;
import com.anke.entity.Staff;
import com.anke.entity.User;

import java.util.List;

public interface UserDao {
    void register(User user);
    List<User> selectUserByUsernameAndPassword(User user);
    void changePassword(User user);
    List<User> selectUserById(User user);
    void updateUserById(User user);
    List<Staff> selectAllStaff();
    List<Staff> selectStaffBySkill(String skill);
    void insertReservation(Reservation reservation);
}
